export interface State { }

const state: State = {
    producingId: 0,
    currentDispatchForm: {},
    currentVersionForm: {}
}

const getters = {}

const mutations = {
    setProducingId(state: any, payload: any) {
        state.producingId = payload
    },
    setCurrentDispatchForm(state: any, payload: any) {
        state.currentDispatchForm = payload
    },
    setCurrentVersionForm(state: any, payload: any) {
        state.currentVersionForm = payload
    },
}

const actions = {}

export default {
    namespaced: true,
    state,
    mutations,
    actions,
    getters
};